package com.tudouji.project.mt.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美团TOKEN对象 mt_token
 * 
 * @author tudouji
 * @date 2024-01-19
 */
@Data
public class MtToken extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 授权code */
    @Excel(name = "授权code")
    private String authorizationCode;

    /** 令牌 */
    @Excel(name = "令牌")
    private String accesstoken;

    /** access_token有效时间【单位：s】 */
    @Excel(name = "access_token有效时间【单位：s】")
    private Long expirein;

    /** 更新令牌 */
    @Excel(name = "更新令牌")
    private String refreshtoken;

    /** 业务授权时传的scope，不传默认为：all */
    @Excel(name = "业务授权时传的scope，不传默认为：all")
    private String scope;

    /** 授权实体的唯一标识 */
    @Excel(name = "授权实体的唯一标识")
    private String opbizcode;

    /** 签名 */
    @Excel(name = "签名")
    private String sign;

}
